package myapp.DTO;

import org.json.JSONException;
import org.json.JSONObject;

public class FriendshipDTO {
	public String userEmail;
	public String friendEmail;
	
	public FriendshipDTO(String userEmail, String friendEmail){
		this.userEmail = userEmail;
		this.friendEmail = friendEmail;
	}
	
	public JSONObject toJson() throws JSONException{
		JSONObject json = new JSONObject();
		json.put("UserEmail", this.userEmail);
		json.put("FriendEmail", this.friendEmail);
		return json;
	}
}
